package mn.idax.exchange.otc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import mn.idax.exchange.otc.entity.OTCAdWay;
import mn.idax.exchange.otc.mapper.OTCAdWayMapper;
import mn.idax.exchange.otc.service.OTCAdWayService;
import mn.idax.exchange.otc.vo.OTCADBeneficiarysDTO;

/**
 * @Auther: shihaiming
 * @Date: 2018/08/07
 * @Description: 广告交易方式表
 */
@Service
public class OTCAdWayServiceImpl implements OTCAdWayService {

    @Autowired
    private OTCAdWayMapper otcAdWayMapper;

	@Override
	public List<OTCADBeneficiarysDTO> selectDisplayByAdId(Integer adid) {
		return otcAdWayMapper.selectDisplayByAdId(adid);
	}

	@Override
	public List<OTCAdWay> selectAllByAdId(Integer adid) {
		return otcAdWayMapper.selectAllByAdId(adid);
	}

	@Override
	public List<Integer> selectDisplayTradeTypeByAdId(Integer adid) {
		return otcAdWayMapper.selectDisplayTradeTypeByAdId(adid);
	}


	
}
